home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-06
/
ul.zip
/
READ.ME
< prev
next >
Wrap
Text File
|
1991-02-25
|
973b
|
25 lines
UL.EXE and U.BAT
This pair of files filled a simple need for a remote login application,
where we wanted to capture the user's full name from their login name
at a site where employee number was being used as login name. UL takes
one argument - a user name, checks to see if it's a valid user name,
then checks to see if that user is logged in. If the user name is
valid and the user is logged in, the full name is printed (it is
redirectable) and an error level of zero is returned. The following
errrolevels are returned on failures:
0 - success - user is logged in, displays full name
1 - user id is known, user is not loged in
2 - user id is unknown
3 - syntax error
4 - internal error
U.BAT is a simple batch file that shows one possible use of the error
levels.
Hopefully, this is of some use to some else.....
Jay Seaman